package com.example.administrator.dc.fragment;

import android.support.v4.app.Fragment;

import com.example.administrator.dc.Activity.BaseActivity;

/**
 * Created by Administrator on 2017/8/15.
 */

public abstract class BaseFragment extends Fragment {
    protected static int userid;
    protected  static  int clubid;
    protected static String safecode;
    protected static String phone;
    protected  static  boolean isCheck;

    public static  void setUserid(int pid){ userid=pid; }
    public static  int getUserid(){
        return  userid;//userid;
    }
    public static void setSafe(String fid){ safecode=fid;}
    public static  String getSafe(){return safecode;}
    public static void setphone(String pid){ phone=pid;}
    public static  String getphone(){return phone;}


    public  boolean getCheck(){
        boolean isCheck= BaseActivity.getIsCheck();
        return  isCheck;
    }
    public  void  setuid(boolean isc){
        BaseActivity.setIsCheck(isc);
    }

    public  int getCid(){
        int clubid= BaseActivity.getClubid();
        return  clubid;
    }
    public  void  setClubid(int cid){
        BaseActivity.setClubid(cid);
    }
}
